package order_food_goods

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var _ OrderFoodGoodsModel = (*customOrderFoodGoodsModel)(nil)

type (
	// OrderFoodGoodsModel is an interface to be customized, add more methods here,
	// and implement the added methods in customOrderFoodGoodsModel.
	OrderFoodGoodsModel interface {
		orderFoodGoodsModel
	}

	customOrderFoodGoodsModel struct {
		*defaultOrderFoodGoodsModel
	}
)

// NewOrderFoodGoodsModel returns a model for the database table.
func NewOrderFoodGoodsModel(conn sqlx.SqlConn) OrderFoodGoodsModel {
	return &customOrderFoodGoodsModel{
		defaultOrderFoodGoodsModel: newOrderFoodGoodsModel(conn),
	}
}
